; StyleScript.cfg
; Please use this format when creating your own style scripts.

; Emulating:	DMBot 3.0.6 build 83 (by DarkMinion)
; Author:	Spht
; Email:	spht.vl@gmail.com
; Website:	http://www.valhallalegends.com/spht/SphtBotv3/

; Use 'copy' trigger to make "shortcuts" to text (most useful for colors).
; Colors are in blue green red order (hex).  Put &h infront of 6-digit color identifiers.
; &hNAMECO is a special identifier for other user's name, which will display color based on flags.  Specify flag colors with 'nameco' trigger.

; Variables (used in 'event' trigger):
; %1 - Event id
; %2 - Name field of event
; %3 - Text field of event
; %4 - Product for showuser, join; otherwise blank
; %5 - Parsed stats for showuser, join; otherwise blank
; %6 - Flags field of event
; %7 - Flags field of event (in hex)
; %8 - Ping field of event
; %9 - Ping field of event (in hex)
; %10 - Described channel flags



; Timestamp.  /time/ is an internal identifier to insert stamp
timestamp [/time/]  
timestamp color /WHITE/
timestamp format HH:MM:SS

; Shortcut to internal color identifiers
copy /NAME/ &hNAMECO
copy /SELF/ &hMYNAME

; General color map
copy /WHITE/ &hFFFFFF
copy /GRAY/ &h7F7F7F
copy /YELLOW/ &h00FFFF
copy /RED/ &h0000FF
copy /GREEN/ &h00FF00
copy /BLUE/ &hFFFF00
copy /MIDBLUE/ &hFF0000
copy /BLUEGREEN/ &h7F7F00
copy /PURPLE/ &hFF00FF
copy /DARKBLUE/ &h7F0000
copy /DARKPURPLE/ &h7F007F
copy /DARKYELLOW/ &h007F7F
copy /DARKGREEN/ &h10AF10
copy /DARKRED/ &h00007F
copy /LIGHTBLUE/ &hFF6F00

nameco name &HBFBFBF	; Non-self no-flagged name (used in user list)
nameco self /BLUE/	; Self name (also used in user list)
nameco 1 &HBFBFBF	; Blizzard Employee
nameco 2 &HBFBFBF	; Channel Operator
nameco 4 &HBFBFBF	; Speaker
nameco 8 &HBFBFBF	; Battle.net System Administrator
nameco &h20 &HBFBFBF	; Squelched

; Chat events (0 is self-talk).  Use "none" for last field if you don't want the event to be displayed at all
event 0 /blue/</self/%2/blue/> %3
event 1 /gray/In channel: %2:%7:%8, using %5.
event 2 &h217721%2:%7:%8 joined the channel using %5.
event 3 &h217721%2 left the channel.
event 4 /green/%2:%7:%8 whispers: /gray/%3
event 5 /green/</name/%2/green/> /white/%3
event 6 /red/Server broadcast from %2: %3
event 7 /blue/Joined %10 channel /white/%3
event 10 /green/You whisper to %2:%7:%8: /gray/%3
event &h12 /yellow/Info: %3
event &h13 /red/Error: %3
event &h17 /yellow/* %2 %3 *
